
var MessagepopPage = Objs("view.components.MessagepopPage",
	UiComponent,
{   
   	addComment:null,

	initialize: function()
	{ 
		MessagepopPage.$super.initialize.call( this );
	
		this.initializeChildren();
		this.bindListeners();
	},
	
    initializeChildren: function()
    {
	this.addComment = jQuery("#addcomment");
    },

	bindListeners: function()
	{
	var namespace = ".MessagepopPage";
			this.addComment.on( "click"+namespace, jQuery.proxy( this, "addComment_clickHandler" ) );

	},
	addComment_clickHandler: function()
	{
  
		this.dispatchEvent( MessagepopPage.ADD_CORRESPONDENCE );		
	},
});
 MessagepopPage.ADD_CORRESPONDENCE ="addCorrespondence";